<%@ Page Language="vb" AutoEventWireup="false" Codebehind="adm_findproduct.aspx.vb" Inherits="georgia_globaltp.adm_findproduct" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML>
	<HEAD>
		<title>adm_findproduct</title>
		<meta name="GENERATOR" content="Microsoft Visual Studio .NET 7.1">
		<meta name="CODE_LANGUAGE" content="Visual Basic .NET 7.1">
		<meta name="vs_defaultClientScript" content="JavaScript">
		<meta name="vs_targetSchema" content="http://schemas.microsoft.com/intellisense/ie5">
	</HEAD>
	<body MS_POSITIONING="GridLayout">
		<form id="findmerchant" method="post" runat="server">
			<table class="box" cellSpacing="0">
				<tr>
					<td class="header" colSpan="2">Find/Edit Products</td>
				</tr>
				<tr>
					<td>Account ID :</td>
					<td><asp:textbox id="vid" tabIndex="0" runat="server" maxlength="15"></asp:textbox></td>
				</tr>
				<tr>
					<td>Merchant Name :</td>
					<td><asp:textbox id="Company" tabIndex="1" runat="server" maxlength="50"></asp:textbox></td>
				</tr>
				<tr>
					<td>Display :</td>
					<td><asp:dropdownlist id="Display" tabIndex="2" runat="server">
							<asp:ListItem value="Y">Active</asp:ListItem>
							<asp:ListItem value="N">Inactive</asp:ListItem>
							<asp:ListItem value=" ">All</asp:ListItem>
						</asp:dropdownlist></td>
				</tr>
				<tr>
					<td>Records Per Page :</td>
					<td><asp:dropdownlist id="RPP" tabIndex="3" Runat="server"></asp:dropdownlist></td>
				</tr>
				<tr>
					<td colSpan="2" align="center">
						<hr>
						<input value="<%=sortby%>" type=hidden name=sortby> <input value="1" type="hidden" name="PG">
						<!--<input type="hidden" name="sortby"> <input type="hidden" name="PG" value="1">--><asp:button id="btnFind" Runat="server" Text="Find"></asp:button>&nbsp;&nbsp;
						<asp:button id="btnCancel" Runat="server" Text="Cancel"></asp:button></td>
				</tr>
			</table>
			<%If IsPostBack Then%>
			<table class="majorbox" cellSpacing="0" width="100%">
				<tr>
					<td class="header">Search Results</td>
				</tr>
				<tr>
					<td>
						<table class="minorbox" border="0" cellSpacing="0" width="100%">
							<%if IsNothing(vRs) then %>
							<tr>
								<td colSpan="7"><font size="2" face="verdana"><b>No merchants were found</b></font></td>
							</tr>
							<%else %>
							<tr>
								<td class="gridheader">&nbsp;</td>
								<td class="gridheader" noWrap><A href="adm_findmerchants.asp<%=sQS%>&amp;action=Refind&amp;sortby=viaKlix_ID&amp;PG=<%=PG%>" >Account 
										ID</A></td>
								<td class="gridheader"><A href="adm_findmerchants.asp<%=sQS%>&amp;action=Refind&amp;sortby=MERCHANT_NAME&amp;PG=<%=PG%>" >Merchant 
										Name</A></td>
								<td class="gridheader"><A href="adm_findmerchants.asp<%=sQS%>&amp;action=Refind&amp;sortby=CITY&amp;PG=<%=PG%>" >Category 
										Name</A></td>
								<td class="gridheader"><A href="adm_findmerchants.asp<%=sQS%>&amp;action=Refind&amp;sortby=CONTACT_PHONE1&amp;PG=<%=PG%>" >Product 
										Name</A></td>
								<td class="gridheader"><A href="adm_findmerchants.asp<%=sQS%>&amp;action=Refind&amp;sortby=CONTACT_EMAIL&amp;PG=<%=PG%>" >Photo 
										ID</A></td>
								<td class="gridheader"><A href="adm_findmerchants.asp<%=sQS%>&amp;action=Refind&amp;sortby=ACTIVE&amp;PG=<%=PG%>" >Active</A></td>
							</tr>
							<%Response.write(HTMLString)
											 'end if
											 if nNumPages > 0 then
											 DrawPaginationControls()
											response.write("HTMLDispage")
											 end if%>
						</table>
					</td>
				</tr>
			</table>
			<%end if
						end if%>
			</TD></TR></TABLE><input type="hidden" name="svid"> <input type="hidden" name="ncid">
		</form>
	</body>
</HTML>
